/**
 * 
 */
package group.anglers.bpmn.core.local.model.mappings;

import java.util.Date;

import group.anglers.om.core.annotations.Column;
import group.anglers.om.core.annotations.ColumnPK;
import group.anglers.om.core.annotations.Model;

/**
 * @author an.pham
 * 
 */
@Model(mapping = "ProcessInstance")
public class ProcessInstance {
	@ColumnPK
	private Long instanceId;
	@Column
	private String name;
	@Column
	private Double version;
	@Column
	private String processId;
	@Column
	private String packageName;
	@Column
	private Date createdDate;
	@Column
	private String state;
	@Column
	private String content;

	public Long getInstanceId() {
		return instanceId;
	}

	public void setInstanceId(Long instanceId) {
		this.instanceId = instanceId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Double getVersion() {
		return version;
	}

	public void setVersion(Double version) {
		this.version = version;
	}

	public String getProcessId() {
		return processId;
	}

	public void setProcessId(String processId) {
		this.processId = processId;
	}

	public String getPackageName() {
		return packageName;
	}

	public void setPackageName(String packageName) {
		this.packageName = packageName;
	}

	public Date getCreatedDate() {
		return createdDate;
	}

	public void setCreatedDate(Date createdDate) {
		this.createdDate = createdDate;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

}
